using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Practices.PageFlow;

namespace WCSFContrib.PageFlow.Xml
{
    public class ConditionalEventArgs : EventArgs
    {
        private PageFlowState userDataStore;
        private string condition;
        private string viewName;

        public ConditionalEventArgs(PageFlowState userDataStore, string condition)
        {
            this.userDataStore = userDataStore;
            this.condition = condition;
        }

        public PageFlowState UserDataStore
        {
            get { return userDataStore; }
        }

        public string Condition
        {
            get { return condition; }
        }

        public string ViewName
        {
            get { return viewName; }
            set { viewName = value; }
        }
    }
}
